<p align="center"><b>Embedded answers (Cloze)</b></p>

<p>This very flexible question type is similar to a 
   popular format known as the Cloze format.  
   
<p>Questions consist of a passage of text (in Moodle format) that 
   has various answers embedded within it, including multiple choice, 
   short answers and numerical answers.

<p>There is currently no graphical interface to create these questions - 
   you need to specify the question format using the text box or by 
   importing them from external files.
   
<p>Here is an example of the input text used to specify such a question:

<form>
<center>
<textarea rows="15" cols="60" wrap="virtual">This question consists of some text with an answer embedded right here {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and right after that you will have to deal with this short answer {1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and finally we have a floating point number {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%N/A#Feedback for halfcredit answer in the nearby region of the correct answer}.

Note that addresses like www.moodle.org and smileys :-) all work as normal:
 a) How good is this? {:MULTICHOICE:=Yes#Correct~No#We have a different opinion}
 b) What grade would you give it? {3:NUMERICAL:=3:2}

Good luck!
</textarea>
</center>
</form>

<p>This example will appear to students as follows:</p>


<form>
<table align="CENTER" width="90%" class="generalbox" border="0" cellpadding="5" cellspacing="0"><tr><td bgcolor="#FFFFFF" class="generalboxcontent"><table width="100%" cellspacing="10"><tr><td nowrap width="100" valign="top"><p align="center"><b>3</b></p><p align="center"><font size="1">8 Marks</font></p><img height="1" width="100" src="pix/spacer.gif" alt=""><br />
</td><td valign="top"><p>This question consists of some text with an answer embedded right here  <select   name="q4ma1" ><option></option><option value="4" >Wrong answer</option><option value="5" >Another wrong answer</option><option value="6" >Correct answer</option><option value="7" >Answer that gives half the credit</option></select>  and right after that you will have to deal with this short answer  <input   name="q4ma2"  value="" type="TEXT" size="8"/>  and finally we have a floating point number  <input   name="q4ma3"  value="" type="TEXT" size="8"/> .<br />

<br />

Note that addresses like <a href="http://www.moodle.org" target="newpage">www.moodle.org</a> and smileys <img border="0" src="pix/s/smiley.gif" width="15" height="15"> all work as normal:<br />

a) How good is this?  <select   name="q4ma4" ><option></option><option value="13" >Yes</option><option value="14" >No</option></select> <br />

b) What grade would you give it?  <input   name="q4ma5"  value="" type="TEXT" size="8"/> <br />

<br />

Good luck!</p></td></tr></table></td></tr></table>
</form>

<br />

